home *** CD-ROM | disk | FTP | other *** search
- ───────────────────────────────────────────────────────────────────────────────
- ▒▒▌[EFDC]▐▒▒░ Enhanced File Directories Chopper v1.0 EXE (c) 1995 ░▒▒▌[EFDC]▐▒▒
- ───────────────────────────────────────────────────────────────────────────────
- ▐│ CONTENTS │ 1. Files Included 5. Last Words │▌
- ▐│ OF │ 2. Brief Program Summary │▌
- ▐│ DOCUMENTATION │ 3. Running The Program │▌
- ▐│ │ 4. General Program Info │▌
- ───────────────────────────────────────────────────────────────────────────────
- ▒▒▌ FILES INCLUDED ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- ───────────────────────────────────────────────────────────────────────────────
- ▐│ EFDC.DOX ..... 7,448 .. Documentation / Installation Guide (Please Read)
- ▐│ EFDC.EXE .... 47,778 .. Chopper EXEcutable (Check It's Size)
- ▐│ STRIPDIZ.LST . 5,066 .. File Which Contains All Unwanted Lines / Keywords
- ▐│ PWA.NFO ...... X,XXX .. PWA Nfo File
- ▐│ FILE_ID.DIZ .... XXX .. Description Identification File
- ───────────────────────────────────────────────────────────────────────────────
- ───────────────────────────────────────────────────────────────────────────────
- ▒▒▌ BRIEF PROGRAM SUMMARY ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- ───────────────────────────────────────────────────────────────────────────────
- Original idea came from Drew. He said that he wouldn't use my shrinker
- because it leaves only the first line of a description and the first line
- might contain crap. One day I was bored so I decided to write a utility that
- would be functioning similarly to SHRINKER, but it would take out only lines
- that either don't contain alpha-numeric characters or contain very small
- amount of alpha-numeric characters (ratio), or lines that matched lines /
- keywords in STRIPDIZ.LST file.
- ───────────────────────────────────────────────────────────────────────────────
- ───────────────────────────────────────────────────────────────────────────────
- ▒▒▌ RUNNING THE PROGRAM ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- ───────────────────────────────────────────────────────────────────────────────
- From the very beginning I wanted to give the utility as much configuration /
- features as possible. Here is a list of all options / features:
-
- 1. Strip PCBoard colors (-p) (@Xnn)
- 2. Strip Wild Cat colors (-c) (@nn@)
- 3. Strip PIPE colors (-i) (|nn)
- 4. Strip ANSI colors (-a) (ESC[nn;nnm)
- 5. Strip HIGH ASCII characters (-s) (RANGE: 128 - 255)
- 6. Strip ASCII graphics (-g) (weird looking text)
- 7. Zap NUKED files (-n) (altered size or zero size)
- 8. Case SENSITIVE (-u) (case matters / does not matter)
- 9. Use SMART WORDWRAP (-w) (back wordwrap to save space)
- 10. Run in QUIET mode (-q) (no status line will be shown)
- 11. Ratio for STRIPDIZ comparison (-X) (1-9, 0-disable; only if using STRIPDIZ)
-
- Of all the 11 options I think that only two need further explanation. Let's
- say you have something like this:
-
- ABC4_1.ZIP >NUKED< 04-18-95 <===========\_/==============\__/=========>
- | ABC FlowCharter for Windows v4.0 [01/06]
- | <=========================================>
- | -/- ^^ CRAP! WATCH YOUR UPLOADS M8!^^ -/-
- | -/- ^^ TIMECOP ^^ -/-
- | -/- ####> 3 TIMES CREDITS TAKEN <#### -/-
- |
-
- This kind of a description will be taken out if you choose to ZAP nuked files
- (-n) since you altered filesize. Also, if filesize is 0, the description is
- gone.
-
- One other thing that I want to explain is stripdiz RATIO.
-
- Suppose you have this line: =[EOS]==\__|__|=/\ky==|_____/==PRESENTS:===
-
- Just by looking at it you can say that it has less alpha-numeric characters
- than non alpha-numeric (not including spaces). What I'm trying to say is if
- you ever see this kind of a line, most likely that it'll contain garbage which
- is not part of a real description, therefore you don't have to look for it in
- stripdiz file. What ratio tells the program is: multiply number of
- non-alphanumeric characters by X and see if it is less than number of
- alphanumeric characters. If it is then go ahead and check with stripdiz file.
- If not then take the whole line out. I think that it's a very sophisticated
- method that can be used to take out unwanted lines / keywords.
-
- When you add a line to STRIPDIZ you have to be aware of two things.
-
- 1. If you are adding a keyword make sure that it's unique. In other words
- make sure that it won't appear in a part of a description.
- 2. If you are adding a line make sure that it corresponds to the ratio that
- you are about to use. Otherwise it'll be just sitting there doing nothing
- and slowing down the execution speed.
-
- You can combine all 11 options in any way you want. The only thing that you
- can't do is specify stripdiz ratio without specifying stripdiz file. If you
- do that, the utility will think that your ratio is a stripdiz filename which
- of course will not exist, therefore you'll get an error.
-
- I would recommend to use the following options:
-
- efdc dir out -p -c -i -a -s -g -n -z -w -2 stripdiz.lst
-
- To make your life a little easier you could create a little batch file:
-
- ----<cut>-------------
- efdc dir out -p -c -i -a -s -g -n -z -w -2 stripdiz.lst
- del dir
- ren out dir
- ----<cut>-------------
-
- That is if you are extremely lazy.
- ───────────────────────────────────────────────────────────────────────────────
- ───────────────────────────────────────────────────────────────────────────────
- ▒▒▌ GENERAL PROGRAM INFORMATION ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- ───────────────────────────────────────────────────────────────────────────────
- EFDC was written in C and compiled with Borland C++ 3.1 for DOS. You can have
- an unlimited amount of lines in your stripdiz file (as long as you don't run
- out of memory). It took me about two months to write it little by little. So
- far I tested it under DOS/Desqview, Windows 95 and OS/2.
- ───────────────────────────────────────────────────────────────────────────────
- ───────────────────────────────────────────────────────────────────────────────
- ▒▒▌ LAST WORDS ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- ───────────────────────────────────────────────────────────────────────────────
- Donations are certainly accepted if you feel so compelled, and I won't even
- mention the many hours of programming/debugging/testing/whatever spent on this
- thing. Cash, old hardware, or even a good leech account on your board is
- always appreciated. Enjoy!
- ───────────────────────────────────────────────────────────────────────────────
- ───────────────────────────────────────────────────────────────────────────────
- ▒▒▌ <EOF> ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
- ───────────────────────────────────────────────────────────────────────────────
-